<script id="main-dialog-template" type="text/template">
   <?php echo CHtml::form('index', 'post'); ?>
   <div class="form-caption">Usuario</div>
   <?php echo CHtml::textField('login-username', ''); ?>
   <div class="form-caption">Contraseña</div>
   <?php echo CHtml::passwordField('login-password', ''); ?>
   <?php echo CHtml::submitButton('Enviar'); ?>
</script>
